package com.ruoyi.yljf.domain.vo;

import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.yljf.domain.Active;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 首页研学空间活动对象
 *
 * @author metaee
 * @date 2025-02-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HomeActiveVO {

    /** 主键id */
    private Long activeId;

    /** 活动标题 */
    private String activeName;

    /** 活动图片 */
    private String activeImg;

    public HomeActiveVO(Active active) {
        BeanUtils.copyProperties(active, this);

    }
}
